package com.carl.zlds.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author carl
 */
@Data
public class SaveGameAccountDTO {
    @NotBlank(message = "账号不能为空")
    private String account;

    @NotBlank(message = "标题不能为空")
    private String title;

    @NotNull(message = "价格不能为空")
    @Min(value = 1)
    private Integer price;

    @NotNull(message = "游戏不能为空")
    @Min(value = 0)
    private Long gameId;

    private String img;
    private Integer level;
    private Integer topLevel;
    private Integer up;
    private Integer hot;
    private Integer s1;
    private Integer s2;
    private Integer s3;
    private String gameTagInfoList;
    private String content;
    private Date launchTime;
}
